home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / demo / Demo Mission 2.zwp / objective_destroy_shuttle.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  3.9 KB  |  198 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7.  
  8. CreateObjectType("objective_destroy_shuttle", "Objective")
  9. {
  10.   GameObj();
  11.   ObjectiveObj()
  12.   {
  13.     Condition("TagCount")
  14.       {
  15.         Tag("AllTraitors")
  16.         {
  17.           Amount(1);
  18.           Operator("<");
  19.         }
  20.       }
  21.  
  22.     Action()
  23.     {
  24.       Op("@.shuttledestroyed", "=", 1);
  25.       ObjectiveAbandoned("objective_shuttle_gone");
  26.       NewObjective("objective_block_ravine");
  27.       NewObjective("objective_one_down");
  28.       NewObjective("objective_traitors_eliminated2");
  29.  
  30.       Cineractive()
  31.       {
  32.         At(0)
  33.         {
  34.           Fade()
  35.           {
  36.             Time(1, 2, 3);
  37.             Direction("up");
  38.           }
  39.         }
  40.         At(1)
  41.         {
  42.           Action()
  43.           {
  44.             Op("@Sprawlers_Hidden.triggerarmy", "=", 1);
  45.           }
  46.         }
  47.         At(2)
  48.         {
  49.           DisableIFace(1);
  50.           DisableInput(1);
  51.           DisableShroud(1);
  52.           SetBookmark()
  53.           {
  54.             Name("caravan");
  55.           }
  56.           Action()
  57.           {
  58.             GameMessage()
  59.             {
  60.               Message("msg_block_ravine");
  61.             }
  62.           }
  63.           Letterbox()
  64.           {
  65.             Time(0, 44, 45);
  66.             Direction("down");
  67.           }
  68.         }
  69.         At(14)
  70.         {
  71.           Fade()
  72.           {
  73.             Time(1, 1, 2);
  74.             Mode("up");
  75.           }
  76.         }
  77.         At(15)
  78.         {
  79.           SetBookmark()
  80.           {
  81.             Name("DF_intro");
  82.           }
  83.           Action()
  84.           {
  85.             Delete()
  86.             {
  87.               Tag("CinAll");
  88.             }
  89.           }
  90.         }
  91.         At(25)
  92.         {
  93.           Fade()
  94.           {
  95.             Time(1, 1, 2);
  96.             Mode("up");
  97.           }
  98.         }
  99.         At(26)
  100.         {
  101.           SetBookmark()
  102.           {
  103.             Name("DF_intro2");
  104.           }
  105.           Action()
  106.           {
  107.             ExecuteScript("Unique", "squad.move.spawntoregion")
  108.             {
  109.               Op("%.types", "=", "rigs");
  110.               Op("%.region.src", "=", "SpawnIn");
  111.               Op("%.region.dst", "=", "Rigs");
  112.             }
  113.           }
  114.         }
  115.         At(34)
  116.         {
  117.           Fade()
  118.           {
  119.             Time(1, 1, 2);
  120.             Mode("up");
  121.           }
  122.         }
  123.         At(35)
  124.         {
  125.           SetBookmark()
  126.           {
  127.             Name("rigs2");
  128.           }
  129.         }
  130.         At(45)
  131.         {
  132.           DisableShroud(0);
  133.           DefaultCamera(1)
  134.           {
  135.             Pan()
  136.             {
  137.               Region("Start");
  138.               TrackTerrain(0);
  139.               Time(1);
  140.             }
  141.           }
  142.         }
  143.         At(47)
  144.         {
  145.           EndCineractive();
  146.           Action()
  147.           {
  148.             RegionMessage()
  149.             {
  150.               Region("monkey_power1");
  151.               Message("msg_new_rigs");
  152.             }
  153.             RegionMessage()
  154.             {
  155.               Region("monkey_power2");
  156.               Message("msg_new_rigs");
  157.             }
  158.             NewObjective("objective_blinking2");
  159.             DisplayObjective("Complete", "objective_destroy_shuttle");
  160.             DisplayObjective("Add", "Objective_block_ravine")
  161.             {
  162.               Text("#missions.jda.j03.obj_block_ravine");
  163.             }
  164.           }
  165.         }
  166.       }
  167.     }
  168.   }
  169. }
  170.  
  171. CreateObjectType("objective_blinking2", "Objective")
  172. {
  173.   GameObj();
  174.   ObjectiveObj()
  175.   {
  176.       Condition("Timer")
  177.       {
  178.         Time(10);
  179.       }
  180.  
  181.   Action()
  182.     {
  183.       RegionMessage()
  184.       {
  185.         Region("monkey_power1");
  186.         Message("msg_new_rigs");
  187.       }
  188.       RegionMessage()
  189.       {
  190.         Region("monkey_power2");
  191.         Message("msg_new_rigs");
  192.       }
  193.       NewObjective("objective_blinking2");
  194.     }
  195.   }
  196. }
  197.  
  198.